This command will close a file that has been previously opened using OPEN TO READ or OPEN TO WRITE.
CLOSE FILE File Number
File Number
Integer The open file number to close
This command does not return a value.
The file must be open or the command will fail.
cls open to write 1,"data.dat" if file open(1)=1 write float 1,42.0 endif close file 1 do loop end
FILE Commands Menu Index